package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Employee;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


public interface EmployeeService {


    R<Employee> selectOne(Employee employee);


    void add(Employee employee);

    Page<Employee> selectPage(Page<Employee> page1, LambdaQueryWrapper<Employee> queryWrapper);

    void updateEmp(Employee employee);

    R findById(Long id);
}
